home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
DEV
/
I-Z
/
XLisp_1.6.cpt
/
XLISP Graphics
< prev
Wrap
Text File
|
1985-10-25
|
1KB
|
58 lines
Macintosh Quickdraw Graphics Functions:
(show-graphics) SHOW THE GRAPHICS WINDOW
returnsnil
(hide-graphics) HIDE THE GRAPHICS WINDOW
returnsnil
(clear-graphics) CLEAR THE GRAPHICS WINDOW
returnsnil
(showpen) SHOW THE DRAWING PEN
returnsnil
(hidepen) HIDE THE DRAWING PEN
returnsnil
(getpen) GET THE LOCATION OF THE DRAWING PEN
returnslocation of the pen as a dotted pair
(pensize <w> <h>) SET THE PEN SIZE
<w>the width of the pen (integer)
<h>the height of the pen (integer)
returnsnil
(penmode <mode>) SET THE DRAWING MODE
<mode>drawing mode (integer)
returnsnil
(penpat <pat>) SET THE PEN PATTERN
<pat>pattern (list of integers)
returnsnil
(pennormal) SET THE PEN BACK TO NORMAL
returnsnil
(move <dh> <dv>) MOVE THE PEN (RELATIVE)
<dh>change in horizontal position (integer)
<dv>change in vertical position (integer)
returnsnil
(moveto <h> <v>) MOVE THE PEN (ABSOLUTE)
<h>horizontal position (integer)
<v>vertical position (integer)
returnsnil
(line <dh> <dv>) DRAW A LINE (RELATIVE)
<dh>change in horizontal position (integer)
<dv>change in vertical position (integer)
returnsnil
(lineto <h> <v>) DRAW A LINE (ABSOLUTE)
<h>horizontal position (integer)
<v>vertical position (integer)
returnsnil